home *** CD-ROM | disk | FTP | other *** search
/ Creative Computers / Creative Computers CD-ROM, Volume 1 (Legendary Design Technologies, Inc.)(1994).iso / commercial / inovatronics / candodemo / helpfiles / graphics, advanced  < prev    next >
Text File  |  1994-11-17  |  6KB  |  292 lines

  1. C- AreaCopy                |areacopy|
  2. C- AreaScroll            |areascroll|
  3. C- ClearClipRegions        |clearclipregions|
  4. C- ClipBrush            |clipbrush|
  5. C- ClipPicture            |clippicture|
  6. V- ClipTransparentColor    |cliptransparentcolor|
  7. C- CycleColors            |cyclecolors|
  8. C- DrawBorder            |drawborder|
  9. C- GetTextDimensions    |gettextdimensions|
  10. C- InstallClipRegion    |installclipregion|
  11. C- LoadPalette            |loadpalette|
  12. C- SaveBrush            |savebrush|
  13. C- SavePicture            |savepicture|
  14. C- SetAreaDrawMode        |setareadrawmode|
  15. C- SetClipTransparentColor    |setcliptransparentcolor|
  16. C- SetDrawMode            |setdrawmode|
  17. C- ShowPalette            |showpalette|
  18. V- TheDrawMode            |thedrawmode|
  19. C- Transparent            |transparent|
  20. V- TransparentStatus    |transparentstatus|
  21. [E]
  22.  
  23. |areacopy|
  24. WT AreaCopy {X}, {Y}, {Width}, {Height}, {DestX}, {DestY}
  25. PL Copies an area of the window with the upper
  26. PL corner at {X},{Y} and of the given size
  27. PL {Width} and {Height} to the location with
  28. PL an upper corner at {DestX},{DestY}.
  29. PL
  30. PT SEE ALSO: 
  31. BS AreaScroll
  32. PT .
  33. ED
  34.  
  35. |areascroll|
  36. WT AreaScroll {X}, {Y}, {Width}, {Height}, {DeltaX}, {DeltaY}
  37. PL Scrolls an area of the window with the upper
  38. PL corner at {X},{X} and of the given size
  39. PL {Width} and {Height} by the distance given
  40. PL in {DeltaX},{DeltaY}.
  41. PL
  42. PT SEE ALSO: 
  43. BS AreaCopy
  44. PT .
  45. ED
  46.  
  47. |clearclipregions|
  48. WT ClearClipRegions
  49. PL Removes any and all clip regions created by
  50. PT the 
  51. BS InstallClipRegion
  52. PL  command.  See the
  53. PL manual for a full description of this
  54. PL command.
  55. ED
  56.  
  57. |clipbrush|
  58. WT ClipBrush {X}, {Y}, {Width}, {Height}, {BrushBufferName} [,<memflag>]
  59. PL Grabs a portion of the current card's
  60. PL window and stores it as a brush for future
  61. PL use.  See the manual for a full description
  62. PL of this command.
  63. PL
  64. PT SEE ALSO: 
  65. BS ShowBrush
  66. PT , 
  67. BS SaveBrush
  68. PT  and 
  69. BS AreaCopy
  70. PT .
  71. ED
  72.  
  73. |clippicture|
  74. WT ClipPicture {ImageBufferName} [,<memflag>]
  75. PL Grabs the current card's window and stores
  76. PL it as a picture for future use.  See the
  77. PL manual for a full description of this
  78. PL command.
  79. PL
  80. PT SEE ALSO: 
  81. BS ShowPicture
  82. PT  and 
  83. BS SavePicture
  84. PT .
  85. ED
  86.  
  87. |cliptransparentcolor|
  88. WT {Integer}=ClipTransparentColor
  89. PL This returns the current transparent color
  90. PL register for brush and picture clipping.
  91. PL
  92. PT SEE ALSO: 
  93. BS ClipBrush
  94. PT , 
  95. BS ClipPicture
  96. PL  and 
  97. PT           
  98. BS SetClipTransparentColor
  99. PT .
  100. ED
  101.  
  102. |cyclecolors|
  103. WT CycleColors {FromColorReg}, {ToColorReg} [,<directionflags>]
  104. PL Cycles the color registers in the current
  105. PL window's palette.  The range is from the
  106. PL {FromColorReg} to the {ToColorReg}.  See
  107. PL the manual for a full description of this
  108. PL command.
  109. ED
  110.  
  111. |drawborder|
  112. WT DrawBorder {X}, {Y}, {Width}, {Height}, <borderflags> [,{Pen1} [,{Pen2}]]
  113. PL Draws a border rectangle according to the
  114. PL specified border style.  See next page for
  115. PL a full listing of border flags.  See the
  116. PL manual for a full description of this
  117. PL command.
  118. NP drawborder2
  119. ED
  120.  
  121. |drawborder2|
  122. WT DrawBorder {X}, {Y}, {Width}, {Height}, <borderflags> [,{Pen1} [,{Pen2}]]
  123. PL BorderFlags:
  124. PL BOX, OUTLINE, DOUBLEOUTLINE, EMBOSSED,
  125. PL HEAVYEMBOSSED, SHADOW, BEVEL, DOUBLEBEVEL,
  126. PL BUTTONOUT, BUTTONIN, CHECKNO, CHECKYES,
  127. PL ROLLO, UP, DOWN, RIGHT and LEFT.
  128. PP drawborder
  129. ED
  130.  
  131. |gettextdimensions|
  132. WT GetTextDimensions {String}, <LengthVarName>, <HeightVarName> [,<BaselineVarName>]
  133. PL This command will fill in the given
  134. PL variables with the size of the string given
  135. PL under current the font and style settings.
  136. PL
  137. PT SEE ALSO: 
  138. BS SetPrintFont
  139. PT  and 
  140. BS SetPrintStyle
  141. PT .
  142. ED
  143.  
  144. |installclipregion|
  145. WT InstallClipRegion {X}, {Y}, {Width}, {Height} [,<methodflags>]
  146. PL Creates a ClipRegion at the given location.
  147. PL See the manual for a full description
  148. PL of this command.
  149. PL
  150. PT SEE ALSO: 
  151. BS ClearClipRegions
  152. PT .
  153. ED
  154.  
  155. |loadpalette|
  156. WT LoadPalette {FilePath} [,{PaletteBufferName} [,<loadflags>]]
  157. PL This will load only the palette part of a
  158. PL picture or brush.  The resultant buffer can
  159. PT be used only by the 
  160. BS ShowPalette
  161. PL  command.  
  162. PL See the manual for a full description
  163. PL of this command.
  164. ED
  165.  
  166. |savebrush|
  167. WT SaveBrush {BrushBufferName} [,{SaveFilePath}]
  168. PL Saves a brush buffer to a disk file.
  169. PL See the manual for a full description
  170. PL of this command.
  171. PL
  172. PT SEE ALSO: 
  173. BS SavePicture
  174. PT  and 
  175. BS LoadBrush
  176. PT .
  177. ED
  178.  
  179. |savepicture|
  180. WT SavePicture {PictureBufferName} [,{SaveFilePath}]
  181. PL Saves a picture buffer to a disk file.
  182. PL See the manual for a full description
  183. PL of this command.
  184. PL
  185. PT SEE ALSO: 
  186. BS SaveBrush
  187. PT  and 
  188. BS LoadPicture
  189. PT .
  190. ED
  191.  
  192. |setareadrawmode|
  193. WT SetAreaDrawMode <flags>
  194. PL The AreaDrawMode effects only Area commands.
  195. PL If set to the default of NORMAL then areas
  196. PT are drawn in a solid color using 
  197. BS PenA
  198. PL .  If
  199. PT set to OUTLINE, the area is drawn with 
  200. BS PenA
  201. PL
  202. PT and outlined with 
  203. BS PenO
  204. PL .
  205. PT SEE ALSO: 
  206. BS SetPen
  207. PT  and 
  208. BS SetDrawMode
  209. PT .
  210. ED
  211.  
  212. |setcliptransparentcolor|
  213. WT SetClipTransparentColor {ColorReg}
  214. PL Sets the background color used in a
  215. PL clipped brush.  This color will be
  216. PT transparent, if 
  217. BS Transparent
  218. PL  is set ON,
  219. PT when displayed by 
  220. BS ShowBrush
  221. PL .
  222. PL
  223. PT SEE ALSO: 
  224. BS ClipBrush
  225. PT .
  226. ED
  227.  
  228. |setdrawmode|
  229. WT SetDrawMode <drawflags>
  230. PT This command changes 
  231. BS TheDrawMode
  232. PL , which
  233. PL affects how pixels are drawn by all drawing
  234. PL commands.  See the manual for a full
  235. PL description of this command.
  236. PT SEE ALSO: 
  237. BS SetAreaDrawMode
  238. PT  and 
  239. BS SetPen
  240. PT .
  241. ED
  242.  
  243. |showpalette|
  244. WT ShowPalette {PaletteBufferName}
  245. PL Changes the current card's window's palette
  246. PL to the palette in the given buffer.  The
  247. PL buffer may be a Picture, Brush, BrushAnim or
  248. PL Palette buffer.
  249. PL
  250. PT SEE ALSO: 
  251. BS SetRGB
  252. PT  and 
  253. BS LoadPalette
  254. PT .
  255. ED
  256.  
  257. |thedrawmode|
  258. WT {string}=TheDrawMode
  259. PL This returns the current drawmode as a
  260. PL string.
  261. PL
  262. PT SEE ALSO: 
  263. BS SetDrawMode
  264. PT .
  265. ED
  266.  
  267. |transparent|
  268. WT Transparent {Logical}
  269. PL If this is false then brushes are shown with
  270. PL no transparent parts.  If it is true then
  271. PL the brushes will have transparent parts,
  272. PL whatever was transparent when clipped.
  273. PT SEE ALSO: 
  274. BS SetClipTransparentColor
  275. PL  and 
  276. PT           
  277. BS TransparentStatus
  278. PT .
  279. ED
  280.  
  281. |transparentstatus|
  282. WT {Logical}=TransparentStatus
  283. PL This returns the current status of the
  284. PL transparency mode.
  285. PL
  286. PT SEE ALSO: 
  287. BS Transparent
  288. PT .
  289. ED
  290.  
  291.  
  292.